/*
 * Copyright (c) 2016, FPX and/or its affiliates. All rights reserved.
 * Use, Copy is subject to authorized license.
 */
package com.fpx.open.platform.common;

import org.springframework.beans.factory.annotation.Value;

/**
 * 
 * @author shiw
 * @date 2016年8月27日
 */
//@Component
public class GlobalSettings {
	
	@Value("${is.send.to.crm}")
	public boolean send2Crm;
	
	@Value("${is.send.to.pds}")
	public boolean send2Pds;

	/**
	 * @return the send2Crm
	 */
	public boolean isSend2Crm() {
		return send2Crm;
	}

	/**
	 * @param send2Crm the send2Crm to set
	 */
	public void setSend2Crm(boolean send2Crm) {
		this.send2Crm = send2Crm;
	}

	/**
	 * @return the send2Pds
	 */
	public boolean isSend2Pds() {
		return send2Pds;
	}

	/**
	 * @param send2Pds the send2Pds to set
	 */
	public void setSend2Pds(boolean send2Pds) {
		this.send2Pds = send2Pds;
	}
}
